<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        //数学计算 Math
        // console.log(Math.max(1, 2, 5, 7));
        // console.log(Math.min(1, 2, 5, 7));

        // let grade = [12, 5, 76, 88];
        // console.log(Math.max.apply(null, grade));

        console.log(Math.ceil(5.1));

        console.log(Math.floor(9.9));

        console.log((5.56).toFixed(2));

        console.log(Math.round(5.56));

    </script>
</body>

</html>